@layout("/common/_container.html"){
<style>
    .box_shou{  text-align: center; }
    .btn_1,.btn_2{ margin: 4rem 3rem 0 16rem; }
    .box_del{ text-align:center;}
    .box_del span{ font-size: 2rem;}
    #layui-layer-shade1,#layui-layer1{ display:none;}
</style>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>社区管理员列表</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                               <div class="col-sm-2">
                                <#NameCon id="search_phone" name="手机号"/>
                               </div>
                            <div class="col-sm-3">
                                 <#button name="搜索" icon="fa-search" clickFun="CommunityUser.search()"/>
                                 <#button name="导出全部" icon="fa-folder-open" clickFun="CommunityUser.exportExcel()" space="true"/>
                            </div>       
                        </div>
                           <div class="row" style="margin-top: 20px">
                               <div class="col-sm-1">
                                 <#button name="批量导入" icon="fa-folder-open" clickFun="CommunityUser.excel()"/>
                               </div>
                              <div class="col-sm-2">
                                <#NameCon id="phone" name="单条导入" placeholder="请输入手机号码" />
                            </div>
                            <div class="col-sm-1">
                                   @if(shiro.hasPermission("/communityUser/add")){
                                  <#button name="单条导入" icon="fa-plus" clickFun="CommunityUser.add()"/>
                                   @}
                                
                            </div>  
                             <div class="col-sm-3">
                               @if(shiro.hasPermission("/communityUser/update")){
                                   <#button name="批量修改" icon="fa-edit" clickFun="CommunityUser.update()" space="true"/>
                                   @}
                             </div>     
                        </div>
                        <#table id="communityUserTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/packback/community_user/community_user.js"></script>
@}
